; Script generated by the Inno Setup Script Wizard.
; This is the ==  Tone Generator === script 2017-06-07
; Resirected from ancient backup
; 2014-07-16 Change to B:SETINet base directory
; Change OutputDir=C:\wamp\public_html\SETINet
#define AppName "Tone Generator"
; #define AppVersion GetFileVersion("C:\Users\James Brown\Documents\RAD Studio\Projects\Tone Generator\Debug\Win32\ToneGenerator.exe")
;#define AppVersion GetFileVersion("B:\SETINet\Tone Generator\Debug\Win32\ToneGenerator.exe")
#define AppVersion GetFileVersion("D:\SETINet\Tone Generator\Debug\Win32\ToneGenerator.exe")
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)

AppId={{50D3121F-A321-4420-A443-D69C1816E237}}

AppName= SETI Net {#AppName} 
AppVersion={#AppVersion}
VersionInfoVersion={#AppVersion}

AppPublisher=SETI Net
AppPublisherURL=http://www.SETI.Net/
AppSupportURL=http://www.SETI.Net/
AppUpdatesURL=http://www.SETI.Net/
DefaultDirName={pf}\SETI Net\Tone Generator
DefaultGroupName=SETI Net/Tone Generator
;LicenseFile=D:\Engineering\ToneGenerator\Build\Tone Generator License File.txt
;InfoBeforeFile=C:\Users\James Brown\Documents\RAD Studio\Projects\Tone Generator\InnoScript\Information File Before Installation.txt
InfoBeforeFile=D:\SETINet\Tone Generator\InnoScript\Information File Before Installation.txt
InfoAfterFile=D:\SETINet\Tone Generator\InnoScript\Information File After Installation.txt
OutputBaseFilename=SetUp ToneGenerator
; OutputDir=C:\UwAmp\www\SETINet\Operation
OutputDir=D:\www\Operations
; SetupIconFile=C:\Users\James Brown\Documents\RAD Studio\Projects\Tone Generator\InnoScript\Tone_48X48.ico
SetupIconFile=D:\SETINet\Tone Generator\InnoScript\Tone_48X48.ico
Compression=lzma
SolidCompression=yes
TouchTime=current

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"

[Files]
; Source: "C:\Users\James Brown\Documents\RAD Studio\Projects\Tone Generator\Debug\Win32\ToneGenerator.exe"; DestDir: "{app}"; Flags: replacesameversion Touch
Source: "D:\SETINet\Tone Generator\Debug\Win32\ToneGenerator.exe"; DestDir: "{app}"; Flags: replacesameversion Touch

; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\Tone Generator"; Filename: "{app}\ToneGenerator.exe"
Name: "{group}\{cm:ProgramOnTheWeb,Tone Generator}"; Filename: "http://www.seti.net/SETINet/Operation/Operation.htm"
Name: "{group}\{cm:UninstallProgram,Tone Generator}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\Tone Generator"; Filename: "{app}\ToneGenerator.exe"; Tasks: desktopicon

[Run]
Filename: "{app}\ToneGenerator.exe"; Description: "{cm:LaunchProgram,Tone Generator}"; Flags: nowait postinstall skipifsilent

[Registry]
; Start "Software\My Company\My Program" keys under HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE. The flags tell it to always delete the
; "My Program" keys upon uninstall, and delete the "My Company" keys if there is nothing left in them.
Root: HKCU; Subkey: "Software\SETI Net"; Flags: uninsdeletekeyifempty
Root: HKCU; Subkey: "Software\SETI Net\ToneGenerator"; Flags: uninsdeletekey
;Root: HKCU; Subkey: "Software\SETI Net\Clock"; Flags: uninsdeletekey eName: "Path"; ValueData: "{app}"
